/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

@import '~antd/es/style/themes/default.less';

.edit {
  height: 70vh;
  overflow: auto;
  &_checkbox {
    :global {
      .ant-checkbox-wrapper {
        & + .ant-checkbox-wrapper {
          margin-left: 0;
        }

        margin-right: @padding-xs;
      }
    }
  }
  :global {
    .ant-tree-list-holder-inner {
      flex-direction: unset !important;
      flex-wrap: wrap;
      .ant-tree-switcher {
        display: none;
      }
      > :first-child {
        flex-basis: 100%;
      }
    }
    .ant-tree-treenode {
      width: 25%;
    }
    @media (max-width: 1200px) {
      .ant-tree-treenode {
        width: 33%;
      }
    }
    @media (max-width: 992px) {
      .ant-tree-treenode {
        width: 50%;
      }
    }
    @media (max-width: 576px) {
      .ant-tree-treenode {
        width: 100%;
      }
    }
  }
}
